{% extends "base.html" %}

{% block content %}
<div class="posts">
    {% for post in post_list %}
    <div id='content' class='row-fluid'>
        <section class="post">
            <header class="post-header">
                <h2 class="post-title"><a href="{% url 'detail' id=post.id %}">{{ post.title }}</a></h2>

                    <p class="post-meta">
                        Time:  <a class="post-author" href="#">{{ post.date_time}}</a> 
                        <a class="post-category post-category-js" href="{% url 'search_tag' tag=post.label %}" style="float: right">{{ post.label|title }}</a>
                    </p>
            </header>
        </section>
      </div>
      <br>
    {% endfor %}
</div><!-- /.blog-post -->
{% endblock %}